Skip to content

[avenger] ## Update wasm golden file for pi engine changes - #47255

Merged
pelikhan merged 1 commit into
mainfrom
avenger/ci-fix-1082-4bfcdcefb8ce9121
Jul 22, 2026
Merged

[avenger] ## Update wasm golden file for pi engine changes#47255
pelikhan merged 1 commit into
mainfrom
avenger/ci-fix-1082-4bfcdcefb8ce9121

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Summary

Updates the wasm golden file for the pi engine to reflect two related behavioral changes: the pi engine now runs in offline mode, and the firewall allowlist no longer includes api.pi.ai.

Changes

File Change
pkg/workflow/testdata/TestWasmGolden_AllEngines/pi.golden Updated golden fixture

Details

Golden file diff summary
  • Removed api.pi.ai from network.allowDomains in the embedded awf-config.json payload.
  • Added PI_OFFLINE: 1 to the job step environment block.

These two changes are consistent: setting PI_OFFLINE: 1 signals the pi engine to operate without making outbound calls to api.pi.ai, so the domain no longer needs to be in the firewall allowlist.

Type

  • Test fixture update (golden file)
  • Bug fix
  • Feature
  • Refactor

Generated by PR Description Updater for #47255 · sonnet46 19.6 AIC · ⌖ 5.58 AIC · ⊞ 4.8K ·

Regenerate pi.golden to match pi_engine.go updates (PI_OFFLINE env var,
removed api.pi.ai domain) that were merged from main.

Co-Authored-By: Claude <noreply@anthropic.com>
@pelikhan
pelikhan marked this pull request as ready for review July 22, 2026 09:43
Copilot AI review requested due to automatic review settings July 22, 2026 09:43
@pelikhan
pelikhan merged commit ae17327 into main Jul 22, 2026
24 checks passed
@pelikhan
pelikhan deleted the avenger/ci-fix-1082-4bfcdcefb8ce9121 branch July 22, 2026 09:43
@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor Author

🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅

@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor Author

Design Decision Gate 🏗️ completed the design decision gate check.

No ADR enforcement needed: PR does not have the 'implementation' label and has ≤100 new lines of code in business logic directories (only 2 additions detected).

@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor Author

PR Code Quality Reviewer completed the code quality review.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Regenerates the Pi engine WASM golden fixture to match current compiler output.

Changes:

  • Adds PI_OFFLINE: 1.
  • Removes api.pi.ai from firewall domains.
Show a summary per file
File Description
pkg/workflow/testdata/TestWasmGolden_AllEngines/pi.golden Updates expected Pi workflow output.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Medium

@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor Author

Test Quality Sentinel completed test quality analysis.

No test files were added or modified in this PR. Test Quality Sentinel skipped.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Skills-Based Review

Applied /diagnosing-bugs — no issues found; approving.

This is a mechanical golden file regeneration. The two changes are internally consistent:

  • api.pi.ai correctly removed from allowDomains (engine no longer needs external access)
  • PI_OFFLINE: 1 env var correctly added to match the merged pi_engine.go behaviour
  • PR description documents verification steps (make fmt, make lint, make test-unit all pass)

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · sonnet46 17.7 AIC · ⌖ 7.29 AIC · ⊞ 6.7K
Comment /matt to run again

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Golden file update looks correct. The removal of api.pi.ai from allowDomains is consistent with the addition of PI_OFFLINE: 1, and both changes align with the merged pi_engine.go updates. No issues found.

🧵 Reviewed using Impeccable skills by Impeccable Skills Reviewer · sonnet46 16.1 AIC · ⌖ 5.09 AIC · ⊞ 5K

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM — mechanical golden update

The two changes are consistent and correct:

  • PI_OFFLINE: 1 env var added to disable live PI calls during test execution.
  • api.pi.ai removed from the firewall allowlist, which is the expected paired change when the engine goes offline.

No logic errors, edge cases, or security concerns in the diff.

🔎 Code quality review by PR Code Quality Reviewer · sonnet46 14.9 AIC · ⌖ 4.48 AIC · ⊞ 5.6K
Comment /review to run again

@github-actions

Copy link
Copy Markdown
Contributor Author

🎉 This pull request is included in a new release.

Release: v0.83.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants